@extends('layout.default')

@section('main')
    <style>
        .mine input {
            width: 340px;
            border-radius: 5px;
            border: 1px solid #000000;
            height: 33px;
        }
    </style>
    <div class="col-sm-12" style="padding: 50px;padding-left: 25%;padding-top: 6%">
        {{ Form::open(array('url'=>'user/login','method'=>'post')) }}
        <div class="mine">
            {{ Form::label('email', 'Email') }}<br>
            {{ Form::email('email','',array('required'=>'required')) }}<br>
            <br><br>
            {{ Form::label('password') }}<br>
            {{ Form::password('password',array('required' => 'required')) }}<br><br><br>
        </div>
        {{ Form::submit('Login', array('class' => 'btn btn-sm btn-success')) }}<br>
        <br>
        {{ Form::close() }}<br>
        <font color="red"><?php if (Session::has('error')) echo Session::get('error');?></font>
        <font color="green"><?php if (Session::has('success')) echo Session::get('success');?></font>
    </div>
@stop